package edu.stonybrook.cs.gars.server.data.exceptions;

import java.io.File;

/**
 * Indicates that the file is empty or contains no data tokens
 * @author Tony Arra
 *
 */
public class EmptyFileException extends UploadException {
	/**
	 * Constructs exception stating that the specified file is empty
	 * @param file
	 */
	public EmptyFileException(File file) {
		super(file.getName() + " is empty.");
	}
	/**
	 * Constructs exception with the specified detail message
	 * @param message
	 */
	public EmptyFileException(String message) {
		super(message);
	}
}
